using Lean.Localization;
using UnityEngine;
using UnityEngine.UI;

public class UICounter : MonoBehaviour
{
	public Text countText;

	[LeanPhraseName]
	public string countLocalizationLabel;

	public void SetCount(int count)
	{
		countText.text = string.Format(LocalizationManager.GetTranslation(countLocalizationLabel), count);
	}
}
